<template>
   <div>
    <button @click="getStudent">查询所有的学生</button>
   </div>
</template>

<script>
export default {
    methods:{
        async getStudent(){
            const result=await this.$api.student.getStudentsApi()
            console.log(result.data.result);
        }
    }
}
</script>

<style>

</style>